__author__ = 'Administrator'
# -*- coding: utf-8 -*-
import wx
class App(wx.App):
    def OnInit(self): #创建子类
        fram = wx.Frame(parent=None,title='helloworld')
        fram.Show()
        return True

app = App()
app.MainLoop()